import http from "@render/utils/axios";
import { RequestEnum } from "@render/enums/httpEnum";

enum Api {
  getWeather = "/weather_mini",
}

export function testApi(params: any) {
  return http.requst(
    {
      url: Api.getWeather,
      method: RequestEnum.GET,
      params,
    },
    {
      joinParamsToUrl: true,
    }
  );
}
